<template>
  <div class="top-img-wrapper">
    <img v-lazyLoad="propsVal.imgPath" alt="" class="main-logo" />
  </div>
</template>
<script setup>
const propsVal = defineProps({
  imgPath: {
    type: String,
    default: null,
  },
});
</script>
<style lang="scss" scoped>
.top-img-wrapper {
  height: rem(500);
  max-height: 600px;
  overflow: hidden;
  > img.main-logo {
    width: 100%;
  }
}
</style>
